package com.example.demo.domain.param;

import com.example.demo.domain.base.PageParam;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * QueryUserParam
 *
 * @author haochen78
 * @date 2025/9/7 01:53
 **/
@EqualsAndHashCode(callSuper = true)
@Data
public class UserQueryParam extends PageParam {
    private Long id;
    private String username;
    private String password;
    private Integer gender;
    private String phone;
    private String email;
    private String realName;
    private String avatar;
    private Integer type;
    private Integer status;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date startGmtCreate;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endGmtCreate;
}
